-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow definition of parameterized tests by subclassing TestSuite #13
Conversation
Going to split this into multiple merges because this is such a large pull request: 13a. Change |
13a: Allow subclasses of TestRunLogger to append to log
13a: 👍 |
13b: Extract display functions from TestRunDisplay 13c: Display extra information for MultipleErrors exception
13b: 👍 📝 Moved new functions from |
13d: 👎 Seems unnecessary to move them, unless we're moving them into a package and taking them out of the global namespace. (Which would be good, but would require bumping the semver to 5.0.0.) |
13e: 👍 |
13f: Will re-look at after merging #20. |
I've rebased these changes so that this now only contains those listed as (13f) in #13 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there really a need to support the old folder-based class system?
Rest of it looks fine, and tests pass as far back as I have installed. |
Re: @-folders. These are still used a lot, including by Mathworks. So, I think that it's best to support it. |
This is the simplest way to support parametrized tests in matlab-xunit
…ss or package directories
I'm going to close this and start a new one for just the TestSuite subclassing |
The main updates are to allow parameterized tests to be defined by subclassing TestSuite.
Some other minor updates such as extracting functions from TestRunDisplay into utilities directory. Note that this directory also needs to be added on the path.
Example of parametrized tests in
tests\helper_classes\TestParameterizedSuite
.